/**
 * 路由配置
 * 
 * TODO: 异步加载路由
 * @path:路由名称
 * @meta:用于控制权限
 * @component:组件路径
 */

export default [{
    path: '/',
    component: resolve => require(['../modules/index'], resolve),
    redirect: '/VehicleInfo',
    children: [{
            path: 'VehicleInfo',
            component: resolve => require(['../modules/Vehicle/VehicleInfo'], resolve),

        },
        {
            path: 'Main',
            component: resolve => require(['../modules/Vehicle/Main'], resolve)
        },
        {
            path: 'Archives',
            component: resolve => require(['../modules/Vehicle/Archives'], resolve)
        },
        {
            path: 'CarReview',
            component: resolve => require(['../modules/Vehicle/CarReview'], resolve)
        }
    ]
}]